﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LabChecker.Models.CheckResults.Task.FailedTest
{
    public class RuntimeError : FailedTestBase
    {
        public RuntimeError(int number, string input, string message, int line, int column)
            : base(number, input)
        {
            Message = message;
            Line = line;
            Column = column;
        }

        public int Line { get; private set; }

        public int Column { get; private set; }

        public string Message { get; private set; }

        public override TaskCheckStatus Status
        {
            get { return TaskCheckStatus.RuntimeError; }
        }
    }
}
